﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/MasterPageC.master"
    AutoEventWireup="true" CodeFile="Users.aspx.cs" Inherits="User_Users" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphLinksC" runat="Server">
    <a href="RegUser.aspx">新增用户</a>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cphBodyC" runat="Server">
    <table style="background-color: #CCFFFF">
        <tr>
            <td>
                <strong>
                    <asp:TextBox ID="TBSearch" runat="server"></asp:TextBox>
                </strong>
                <asp:Button ID="btnSelect" runat="server" Text="查找用户" Width="63px" OnClick="btnSelect_Click" />
                提示：缩小搜索范围可以快速搜索！
            </td>
        </tr>
        <tr>
            <td>
                <span>
                    <asp:RadioButtonList ID="RadioButtonList1" runat="server" RepeatDirection="Horizontal"
                        Font-Bold="False" Font-Size="Small">
                        <asp:ListItem Selected="True" Value="0">全部</asp:ListItem>
                        <asp:ListItem Value="1">姓名</asp:ListItem>
                        <asp:ListItem Value="2">账号</asp:ListItem>
                    </asp:RadioButtonList>
                </span>
            </td>
        </tr>
        <tr>
            <td style="background-color: #FFFFCC">
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" CellPadding="4"
        ForeColor="#333333" GridLines="None" AllowPaging="True" OnPageIndexChanging="GridView1_PageIndexChanging"
        PageSize="15">
        <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
        <Columns>
            <asp:HyperLinkField DataTextField="UserName" HeaderText="账号" DataNavigateUrlFields="userName"
                DataNavigateUrlFormatString="UserMgr.aspx?U={0}" />
            <asp:BoundField DataField="TrueName" HeaderText="姓名" />
            <asp:BoundField DataField="Gender" HeaderText="性别" />
            <asp:BoundField DataField="status" HeaderText="状态" NullDisplayText="活动" />
            <asp:BoundField DataField="RegTime" HeaderText="注册时间" />
        </Columns>
        <RowStyle BackColor="#EFF3FB" />
        <EditRowStyle BackColor="#2461BF" />
        <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
        <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
        <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
        <AlternatingRowStyle BackColor="White" />
    </asp:GridView>
            </td>
        </tr>
    </table>
    </asp:Content>
